import { useContext } from 'react';

import { AppState, AppStateContext } from '../context';

function useAppState(): AppState {
    return useContext(AppStateContext);
}

export { useAppState };
